package com.dzpk.gameserver.enumeration;

public enum CopyDifficultyEnum {
    // 简单副本
    EASY(1),
    // 钻石副本
    CHALLENGE(3),
    // 碎片副本
    CHALLENGE_SECOND(4)

    ;

    private int value = 0;

    private CopyDifficultyEnum(int value) {
        this.value = value;
    }

    public int value() {
        return this.value;
    }

    public static CopyDifficultyEnum valueOf(int value) {
        switch (value) {
            case 1:
                return EASY;
            case 3:
                return CHALLENGE;
            default:
                return null;
        }
    }
}